.hongbao,
.wrapper {
    width: 100%;
    height: 100%;
    background-color: rgb(173, 31, 31);
}

.wrapper {
    background-image: url(./img/stage3-bg.jpg);
    background-size: cover;
    animation: row-opacity 2s linear alternate;
    position: relative;
    overflow: hidden;
}

.title-box {
    width: 100%;
    height: .9rem;
    position: absolute;
    padding: 6px 0 4px 0;
    top: 20px;
    left: 0;
    background-image: url(./img/stage1.png);
    background-position: 40px 70.7%;
    background-repeat: no-repeat;
    background-size: 100%;
    animation: bounceInDown 3s linear alternate;
}

.footer-box {
    width: 100%;
    height: 1.7rem;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-image: url(./img/stage1.png);
    background-position: -20px 0%;
    background-repeat: no-repeat;
    background-size: 110%;
    animation: fadeInUp 1.2s linear alternate;
}

.footer-box::before {
    content: "";
    display: block;
    width: 100%;
    height: 1.2rem;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-image: url(./img/stage1.png);
    background-position: -20px 52%;
    background-repeat: no-repeat;
    background-size: 110%;
    animation: fadeInUp .3s linear alternate;
    animation-delay: 1.2s;
    z-index: 990;
    animation-fill-mode: backwards;
}

.footer-box::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 470px;
    height: 1.8rem;
    position: absolute;
    bottom: .58rem;
    left: 0;
    background-image: url(./img/stage1.png);
    background-position: 0px 30%;
    background-repeat: no-repeat;
    background-size: 100%;
    animation: bounceInUp 1.3s linear alternate;
    animation-delay: 4s;
    z-index: 985;
    animation-fill-mode: backwards;
}

.hongbao-box {
    width: 100%;
    height: 100px;
    background-color: blue;
    position: absolute;
    top: -100px;
    z-index: 985;
}

.hongbao-box ul {
    width: 100%;
    height: 100%;
}

.hongbao-box ul li {
    width: 110px;
    height: 125px;
    border-radius: 10px;
    background-image: url(../hongbao.png);
    background-size: 100%;
    position: absolute;
    left: 0;
    bottom: 20px;
    animation-timing-function: linear;
    animation-delay: 3s;
}

.hongbao-box ul.money li {
    width: 18px;
    height: 18px;
    background-image: url(../hongbao/img/money.png);
    background-size: 102%;
    position: absolute;
    left: 0;
    bottom: 100px;
    animation-timing-function: linear;
    animation-delay: 3s;
    animation-iteration-count: infinite;
}

.package {
    width: 190px;
    height: 240px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -140px 0 0 -95px;
    z-index: 985;
    background-color: #D13D4B;
    border-radius: 12px;
    box-shadow: 1px 1px 15px 0 rgba(119, 16, 30, 0.3) inset;
    overflow: hidden;
    animation: bounceInUp 1s linear alternate;
    animation-fill-mode: backwards;
    animation-delay: 5s;
}

.package::after {
    content: "";
    display: block;
    width: 240px;
    height: 240px;
    background-color: #EB4455;
    border-radius: 45%;
    margin-left: -26px;
    margin-top: -175px;
    box-shadow: 0 1px 12px 0 rgba(119, 16, 30, 0.7);
}

.package .titlimg {
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 50%;
    left: 50%;
    margin-left: -20px;
    top: 40px;
    background-size: 100%;
}

.backgroundbar {
    background: #D13D4B;
    z-index: 990;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    transition: all .7s;
    bottom: 100%;
}

.problem {
    transform-origin: 50%;
    animation-duration: 3s;
    animation-timing-function: ease;
    z-index: 999;
    animation-fill-mode: forwards;
    /* animation-iteration-count: infinite; */
}

.problembtn {
    animation-name: problem;
}

.boxup {
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-name: fadeOutup;
    animation-delay: 3.5s;
}

.package p {
    font-size: .1rem;
    color: white;
    letter-spacing: 1px;
    position: absolute;
}

.package .title {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -20px);
}

.package .text-btn {
    left: 50%;
    bottom: 10px;
    transform: translate(-50%, -20px);
}


/* problem */

.backgroundbar {
    color: white;
    padding-top: 20px;
    box-sizing: border-box;
    text-indent: 2px;
    letter-spacing: 1px;
    overflow: scroll;
}

.backgroundbar div {
    width: 80%;
    padding: 10px 0;
    margin: 0 auto;
}

.backgroundbar div div {
    width: 100%;
}

.backgroundbar .radio div select {
    color: white;
}

.backgroundbar .radio .ui-select::after {
    border-top: 10px solid;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    margin-top: 2px;
    color: #ffffff;
}

.backgroundbar .radio div {
    margin: 0;
}

.backgroundbar .questions li {
    padding: 10px 0;
}

.backgroundbar .questions li p {
    padding: 7px 0;
}

.backgroundbar .questions li input {
    width: 100%;
    border: none;
    border-radius: 2px;
    padding: 3px 5px;
    box-sizing: border-box;
}

.backgroundbar .btn-box {
    width: 80%;
    font-size: 18px;
    margin: 10px auto 0 auto;
    box-sizing: border-box;
}

.backgroundbar .problembtn {
    color: white;
    display: block;
    width: 100%;
    padding: 5px 6px;
    background-color: rgb(250, 215, 19);
    border-radius: 2px;
}